package com.tfxy.hxl.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("booking")
public class Booking implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;

    private Long userId;
    private Long activityId;
    private Long venueId;
    private Long coachId;
    private java.math.BigDecimal price;
    private Date bookingTime;
    private Integer status;
    private Integer paymentStatus;
    private BigDecimal amount;
    private String remark;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableLogic
    private Integer deleted;
} 